/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DatabasePOJO;

/**
 *
 * @author Mr-Nguyen
 */
public class donhang {
    
    //<editor-fold defaultstate="collapsed" desc="1.Khai báo thuộc tính.">
    private String _Madonhang;
    private String _MaNguoiMua;
    private String _TenNguoiNhap;
    private String _DienThiaoNguoiNhan;
    private String _DiaChiNguoiNhan;
    private String _NgayNhan;
    private String _GioBatDau;
    private String _GioKetThuc;
    private String _MaSanPham; 
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc="2.Phương thức getter/setter.">
    
    public String getDiaChiNguoiNhan() {
        return _DiaChiNguoiNhan;
    }

    public String getDienThiaoNguoiNhan() {
        return _DienThiaoNguoiNhan;
    }

    public void setDienThiaoNguoiNhan(String _DienThiaoNguoiNhan) {
        this._DienThiaoNguoiNhan = _DienThiaoNguoiNhan;
    }

    public String getGioBatDau() {
        return _GioBatDau;
    }

    public void setGioBatDau(String _GioBatDau) {
        this._GioBatDau = _GioBatDau;
    }

    public String getGioKetThuc() {
        return _GioKetThuc;
    }

    public void setGioKetThuc(String _GioKetThuc) {
        this._GioKetThuc = _GioKetThuc;
    }

    public String getMaNguoiMua() {
        return _MaNguoiMua;
    }

    public void setMaNguoiMua(String _MaNguoiMua) {
        this._MaNguoiMua = _MaNguoiMua;
    }

    public String getMaSanPham() {
        return _MaSanPham;
    }

    public void setMaSanPham(String _MaSanPham) {
        this._MaSanPham = _MaSanPham;
    }

    public String getMadonhang() {
        return _Madonhang;
    }

    public void setMadonhang(String _Madonhang) {
        this._Madonhang = _Madonhang;
    }

    public String getNgayNhan() {
        return _NgayNhan;
    }

    public void setNgayNhan(String _NgayNhan) {
        this._NgayNhan = _NgayNhan;
    }

    public String getTenNguoiNhap() {
        return _TenNguoiNhap;
    }

    public void setTenNguoiNhap(String _TenNguoiNhap) {
        this._TenNguoiNhap = _TenNguoiNhap;
    }
   public void setDiaChiNguoiNhan(String _DiaChiNguoiNhan) {
        this._DiaChiNguoiNhan = _DiaChiNguoiNhan;
    } 
   //</editor-fold>
  
    //<editor-fold defaultstate="collapsed" desc="3.Phương thức khỏi tạo.">
    public donhang(String _Madonhang, String _MaNguoiMua, String _TenNguoiNhap, String _DienThiaoNguoiNhan, String _DiaChiNguoiNhan, String _NgayNhan, String _GioBatDau, String _GioKetThuc, String _MaSanPham) {
        this._Madonhang = _Madonhang;
        this._MaNguoiMua = _MaNguoiMua;
        this._TenNguoiNhap = _TenNguoiNhap;
        this._DienThiaoNguoiNhan = _DienThiaoNguoiNhan;
        this._DiaChiNguoiNhan = _DiaChiNguoiNhan;
        this._NgayNhan = _NgayNhan;
        this._GioBatDau = _GioBatDau;
        this._GioKetThuc = _GioKetThuc;
        this._MaSanPham = _MaSanPham;
    }
    public donhang() {
        this._Madonhang = "";
        this._MaNguoiMua = "";
        this._TenNguoiNhap = "";
        this._DienThiaoNguoiNhan = "";
        this._DiaChiNguoiNhan = "";
        this._NgayNhan = "";
        this._GioBatDau = "";
        this._GioKetThuc = "";
        this._MaSanPham = "";
    }
    public donhang(donhang dh){
        this._Madonhang = dh.getMadonhang();
        this._MaNguoiMua = dh.getMaNguoiMua();
        this._TenNguoiNhap = dh.getTenNguoiNhap();
        this._DienThiaoNguoiNhan = dh.getDienThiaoNguoiNhan();
        this._DiaChiNguoiNhan = dh.getDiaChiNguoiNhan();
        this._NgayNhan = dh.getNgayNhan();
        this._GioBatDau = dh.getGioBatDau();
        this._GioKetThuc = dh.getGioKetThuc();
        this._MaSanPham = dh.getMaSanPham();
    }
            
    //</editor-fold>

    

    

    
}
